<?php

namespace IDock\Insurance\TPBX\Response;

use IDock\Http\Response;
use IDock\Printer\ValidateCarCodePrinter;

class ValidateCarResponse extends AllTPBXResponse
{
    /*** @var ValidateCarCodePrinter $printer */
    public $printer = ValidateCarCodePrinter::class;

    public function printerInit(): Response
    {
        $this->printer->code = $this->get('data');
        return $this;
    }
}
